package com.git.hui.yinshua.api.model.order;

import lombok.Getter;

/**
 * 订单状态
 *
 * @author YiHui
 * @date 2024/6/20
 */
@Getter
public enum PtOrderStatusEnum {
    INIT(0, "创建中/未支付"),
    ING(10, "拼团中"),
    SUCCEED(20, "拼团成功"),
    FAILED(100, "拼团失败"),
    CANCELED(99, "超时未支付取消");

    private Integer status;
    private String desc;

    PtOrderStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }
}
